package com.larry.resend.tais;

public enum MessageType {

	DISP(new DISPProcessor()), HLDP(new HLDPProcessor()), PROC(new PROCProcessor()), RCVD(new RCVDProcessor()), REPD(new REPDProcessor()), SBU(new SBUProcessor()), SHIP(new SHIPProcessor());

	private final TaisCommonProcessor processor;

	private MessageType(TaisCommonProcessor processor) {
		this.processor = processor;
	}

	public TaisCommonProcessor getProcessor() {
		return processor;
	}
}
